<?php

$sql_delete="delete from ".$GLOBALS['first_table']."tbluser where iUserId='$id' and iParentId>0";
echo $dbsql->query($sql_delete);

echo "<center>Delete Room Success!";
echo "<br><a href='index.php?opt=rooms'>Back</a></center>";
exit();
?>